xen/arm: p2m: Don't create new table when the mapping is removed
authorJulien Grall <julien.grall@linaro.org>
Fri, 20 Dec 2013 01:41:20 +0000 (01:41 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 20 Dec 2013 09:21:57 +0000 (09:21 +0000)
commit8672aa8384d18690df62b2cff2627590e93b0359
tree864af9abc2a5dd23965d2932d86b1320d9659d45
parent41fbf77bc87c79ae0b7dab2c47b8864c5dd34fb3
xen/arm: p2m: Don't create new table when the mapping is removed

When  Xen is removing/relinquishing mapping, it will create second/third tables
if they don't exist.

Non-existent table means the address range was never mapped, so Xen can safely
skip them.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/p2m.c